package com.sihan.framework.etm.entity.business;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
public class CollectionRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String devName;

    private String devCode;

    private Integer typeId;

    private String typeName;

    private Date stateTime;
    private Date endTime;

    private Integer count;

    private String deviceId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date day;

    private String taskCode;

    private String routeName;

    private Integer state;

    private Integer mountState;

    private String stateName;
}
